# You should source this function and use it to send your strings to the
# channel, which is the first argument say() takes. Every other argument
# is printed on its own line. Note that you may use arrays as well.

function say {
    a=("$@")
    for str in "${a[@]:1}"; do
        printf 'PRIVMSG %s :%s\n' "${a[0]}" "$str" >&3
    done
}

